package cn.cai.pethome.shop.service;

import cn.cai.pethome.shop.domain.Shop;
import cn.cai.pethome.base.service.IBaseService;
import cn.cai.pethome.shop.dto.ShopDto;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaocai
 * @since 2022-08-27
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop);
    /**
     * 平台员工：审核商家入驻信息
     * @param shopDto
     * @return
     */
    void audit(ShopDto shopDto);

    /**
     * 激活
     * @param id
     */
    void updateStated(Long id);

    /**
     * 批量导入店铺入驻信息
     * @param file
     * @return
     */
    void importExecl(MultipartFile file);
}
